Skip to content

Conversation

@neethuas379
Copy link
Contributor

No description provided.

@neethuas379 neethuas379 requested a review from a team as a code owner April 28, 2025 08:55
@neethuas379 neethuas379 requested a review from a team April 28, 2025 08:55
ds/hdmiIn.cpp Outdated

void HdmiInput::setVRRSupport(int iHdmiPort, bool vrrSupport)
{
printf ("HdmiInput::setVRRSupport \r\n");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We dont need two print in same function

std::string _VRRSupport("TRUE");
try {
_VRRSupport = device::HostPersistence::getInstance().getProperty("HDMI0.vrrEnable");
if(_VRRSupport == "TRUE")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_VRRSupport is initialized to true so why we checking here for TRUE which will always be the success case

(void *)&param,
sizeof(param));

printf("[cli]: dsSetVRRSupport port :%d, vrrsupport :%d\n",param.iHdmiPort,param.vrrSupport);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reduce logs as we dont need to log at every layer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants